//This is just a small simple script for farming on the map of spectre Wilderness
//It won't do anything fancy
//This  script can start from Holy Blood city
///set this to your fusion key. if you don't have one set it to none
var=fusion=Thunderbird
///use this to change the speed of the script in case it is moving to fast and it is causing problems. you can increase by 0.1 or whole numbers 1, 2 etc...
var=speed=0.5
///set this to your configuration  file
var=configuration=my_config

open_game_window
enable_obstacles
obstacles=Guard|activity envoys

block=start
add_action_speak=hb={"text": ["High climbing grassland$"], "execute": ["go_to_block=high_climbing_grassland"], "onecopy": 1}
add_action_speak=already={"text": ["spectre wilderness$"], "execute": ["var=fusion=none", "go_to_block=spectre_wilderness"], "onecopy": 1}

block=high_climbing_grassland
clear_action_speak
add_action_speak=sw={"text": ["^spectre wilderness;path$"], "execute": ["go_to_block=spectre_wilderness"], "onecopy": 1}
timewait=2
if=["%fusion%", "none", "==", ["timewait=1"], ["keypress=%fusion%"]]
goposition=398|48
wait

block=spectre_wilderness
loadoptions=%configuration%
timewait=%speed%
if=["%fusion%", "none", "==", ["timewait=1"], ["keypress=%fusion%"]]
timewait=%speed%
keypress=capslock=first tab
timewait=%speed%
keypress=b=pacifist mode with counterattack
timewait=%speed%
keypress=v=enemies
timewait=%speed%
goposition=370|349
goposition=30|360
goposition=30|17
goposition=5|349
go_to_line=38